-- tear
-- created by shuzy
-- 撕裂状态

return {
    apply = function(prop, baseValue)
        return prop[3];
    end,

    -- 每回合触发
    trigger = function(who, prop, arg)
        local damage = prop[3];

        -- 最小一点
        damage = math.max(1, damage);

        return CombatM.receiveDamage(who, who, damage, 0);
    end,

    record = function(target, prop, path)
        return false;
    end
};